package com.jk.smartelderlycare.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;


/**
 * @author hhk
 * @version 1.0
 * @ClassName TbMessage
 * @program: smart-elderly-care
 * @description: TODO
 * @date 2024/11/27 19:10
 */
@Data
@ToString
@Document(collection = "tbMessage")
public class TbMessage implements Serializable {
    private static final long serialVersionUID = 9144977953791177840L;
    @Id
    private String id;
    private String type;
    private String name;
    private String msg;
    private Date time;
    private String photoUrl;
    private Long homestayId;
}
